package com.kang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kang.entity.ChatRecord;
import com.kang.mapper.ChatRecordMapper;
import com.kang.service.ChatRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChatRecordServiceImpl extends ServiceImpl<ChatRecordMapper, ChatRecord> implements ChatRecordService {

    @Autowired
    private ChatRecordMapper chatRecordMapper;

    @Override
    public void insertChatRecord(ChatRecord chatRecord) {
        chatRecordMapper.insert(chatRecord);
    }


    public static void main(String[] args) {
        String a = "abc";
        a = 123 + a;
        System.out.println(a);
        a = a + "666";
        System.out.println(a);
    }
}
